﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.IO;

namespace ConfigWindows
{
    public static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            URIDecoderFileName = Path.Combine(Application.StartupPath, "URIDecoder.exe");
            if (!File.Exists(URIDecoderFileName))
            {
                MessageBox.Show("未找到URIDecoder.exe。请将设置程序和URIDecoder.exe程序放置在同一目录下。");
                return;
            }
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Form1());
        }
        public static string URIDecoderFileName { get; private set; }
    }
}
